"""DjangoDemo URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from . import View
from . import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', views.hello),
    path('test/', View.page_text),
    path('<int:pre>/<str:str_now>/<int:nxt>', View.page_textn),
    path('api/C2_1/', View.C2_1),
    path('api/C2_2.py/', View.C2_2),
    path('api/C2_3.py/', View.C2_3),
    path('api/C2_4.py/', View.C2_4),
    path('api/C3_1.py/', View.C3_1),
    path('api/C3_2.py/', View.C3_2),
    path('api/C3_3.py/', View.C3_3),
    path('api/C3_4.py/', View.C3_4),
    path('api/C3_5.py/', View.C3_5),
    path('api/C3_7.py/', View.c3_7),
    path('api/EquipmentsLocation.py/', View.C3_7),
    path('api/Http_Management.py/', View.FEquipmentsLocation),
    path('api/FToken/', View.FToken),
    path('api/FUserLocation/', View.FUserLocation)
]
